<#include "/common/_itjson_layout.ftl" />
<@itjsonCommonLayout "json">

<!-- begin主体 -->

<div role="alert" class="alert alert-success alert-dismissible">
	<button aria-label="Close" data-dismiss="alert" class="close" type="button"><span aria-hidden="true">×</span></button>
    Json在线解析格式化工具（提供Json解析，Json格式化，Json在线压缩，Json校验工具，Json生成实体类） <a title="QQ群号：157906825" onclick="btnqq(this);" target="_blank" class="btn btn-warning">一键加群</a> 
    <!--
    <a href="http://www.jsons.cn/coffeelist/" target="_blank" class="btn btn-danger">赞助名单</a>
    <a href="http://www.jizhuni.com/jokelist/D4C5F6317B2180DE" target="_blank" class="btn btn-success">冷笑话</a>
    -->
</div>


<div class="panel">
    <form id="form1" class="form-horizontal" action="${www}"
    method="post">
        <div class="form-group">
            <div class="col-sm-12">
                <textarea id="json_input" name="json_input" rows="17" style="width:100%"placeholder="请输入要格式化的Json字符串 或者 Url接口地址"></textarea>
            </div>
        </div>
        <div class="form-group">
            <div class="col-sm-12">
                <input name="validate" id="validate" value="格式化（校验）" class="btn btn-success"type="button">
                <input onclick="empty();" value="清空输入框" class="btn btn-default" type="button">
                <input onclick="saveFile();" value="保存本地" class="btn btn-info" type="button">
                <span id="copyallcode" class="btn btn-info" data-clipboard-target="json_input">复制结果</span>
                <!-- 广告banner <a class="btn btn-warning" target="_blank" href="http://www.2345.com/?khao668">王牌技术员联盟</a>-->
                <code>阿里云九折优惠码：php3wc</code>
            </div>
        </div>
        <!-- begin 解析结果提示栏 -->
        <div class="form-group">
            <div class="col-sm-12">
                <div class="alert alert-danger alert-dismissible text-left" role="alert" id="results">请输入Json字符串 或者 Url接口地址</div>
            </div>
        </div>
        <!-- end 解析结果提示栏 -->
        <!--begin 推荐文章 -->
        <!-- <div class="form-group">
        <div class="col-sm-12">
        <div class="widget">
        <div class="content tag-cloud">
        <h5>
        <a href="${www}/articleinfo/1/" target="_blank">
        Js解析Json字符串
        </a>
        <a href="${www}/articleinfo/2/" target="_blank">
        C#.Net解析Json字符串
        </a>
        <a href="${www}/articleinfo/6/" target="_blank">
        Java解析Json字符串
        </a>
        <a href="${www}/articleinfo/5/" target="_blank">
        PHP解析Json字符串
        </a>
        <a href="${www}/articleinfo/7/" target="_blank">
        Python解析Json字符串
        </a>
        <a href="${www}/articleinfo/8/" target="_blank">
        Json解析组件、Js版Json插件
        </a>
        <a href="${www}/articleinfo/9/" target="_blank">
        什么是Json？Json概念讲解
        </a>
        <a href="${www}/articleinfo/189/" target="_blank">
        Json基础
        </a>
        <a href="${www}/articleinfo/44/" target="_blank">
        Json校验失败原因大全
        </a>
        <a href="${www}/articleinfo/147/" target="_blank">
        JQuery使用Jsonp跨域
        </a>
        <a href="${www}/articleinfo/169/" target="_blank">
        Jsonp跨域原理
        </a>
        </h5>
        </div>
        </div>
        </div>
        </div>
        -->
        <!--end 推荐文章 -->
    </form>
</div>
<!-- end主体 -->

    <form id="formSaveFile" class="form-horizontal" action="/itjson/test.html" method="post" target="saveFileIframe">
    </form>
    
	<iframe id="saveFileIframe" name="saveFileIframe" border="1" frameborder="1" width="100" height="100" style="display:none"></iframe>
    
</@itjsonCommonLayout>